package me.zhengjie.modules.other.service.dto;

import com.qiaofang.applet.service.other.domain.CityCompany;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang.StringUtils;

/**
 * @author QF2019
 */
@Data
public class SaveCityCompanyDto extends CityCompany {

    @ApiModelProperty(value = "初始化标识",hidden = true)
    private String initFlagStr;

    public void setInitFlagStr(String initFlagStr) {
        this.initFlagStr = initFlagStr;
        setInitFlag(StringUtils.equals(initFlagStr, "是"));
    }

}
